import LayoutEditor from "./src/LayoutEditor.vue";
import TreeView from "./src/TreeView.vue";
import ContentView from "./src/ContentView.vue";
import Property from "./src/Property.vue";
import { TreeNodeData } from "element-plus";

export { LayoutEditor, TreeView, ContentView, Property }

export type TreeViewType = {
  getCurrentArea: () => TreeNodeData
  getCurrentNode: () => any
  setCurrentKey: (id: string) => void
}
export const componentTypeOptions = {
  page: '分页列表',
  list: '普通列表',
  save: '新增',
  update: '更新',
  stat: '统计'
}